package com.freewater.cargotracker.domain.service;

import com.freewater.cargotracker.domain.model.cargo.Cargo;
import com.freewater.cargotracker.domain.model.voyage.Voyage;

/**
 * 将约束建模为Service：超定约束
 */
public interface OverBookingPolicy {

    boolean isAllowed(Cargo cargo, Voyage voyage);

}
